home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / text0087.txt < prev    next >
Encoding:
Text File  |  1994-09-20  |  1.2 KB  |  32 lines

  1. *******************************************
  2. *TO: Anyone associated with Acid Software.*
  3. *******************************************
  4.  
  5. I created a little program to test out BitMapInput, and it seems to
  6. be malfunctioning.  Here is what I did:
  7.  
  8. 1) Went into Blitz mode.
  9. 2) Then, right away, go into QAMIGA mode to read in one word from
  10.    a text file in RAM.  Note that I used the FileInput and then the
  11.    DefaultInput commands for it.
  12. 3) Back into BLITZ mode.
  13. 4) Initialize a Bitmap and a slice.  USE it and SHOW it.
  14. 5) I set BitmapOutput to ON and turn BlitzKeys on and set the input
  15.    stream to BitMapInput.
  16. 6) Then I do a loop to read typing from the keyboard using Inkey$.
  17.  
  18. That is when it screws up.  It says "Can't read character from
  19. default input."  Now, I DID set BitMapInput, so it should be reading
  20. from the keyboard, right?  Well, it doesn't seem to.  Is it because
  21. of the way I did it?  Please test this out and check back with me,
  22. OK?  It is IMPERATIVE for the game I am making!!  Thanks.
  23.  
  24. OH!  Also note that if the file doesn't exist and nothing was read
  25. from it (or if I remove the whole QAMIGA routine entirely) the
  26. typing loop works just fine, so I gather there must be something wrong
  27. with the BitMapInput command, it's not switching properly.
  28.  
  29. Nelson.
  30.  
  31.  
  32.